<template>
  <div>
      <h1 class="h1">我是个人中心页面</h1>
      <p>你好，尊敬的VIP用户：{{name}}</p>
  </div>
</template>

<script>
export default {
    name: "My",
    data() {
        return {
            name: ""
        }
    },
    methods: {
        
    },
    created() {
        this.name = localStorage.getItem("loginUser");
    }
}
</script>

<style scoped>
    .h1 {
        color: #654321;
    }

</style>
